#ifndef PROFILER_H
#define PROFILER_H

typedef enum {
    SYSTEMCK,
    CPUCK,
    STALL_TOTAL,
    STALL_INTERNAL,
    STALL_MEMORY,
    STALL_COP,
    STALL_VFPU,
    SLEEP,
    BUS_ACCESS,
    UNCACHED_LOAD,
    UNCACHED_STORE,
    CACHED_LOAD,
    CACHED_STORE,
    I_CACHE_MISS,
    D_CACHE_MISS,
    D_CACHE_WB,
    INST_COP0,
    INST_FPU,
    INST_VFPU,
    LOCAL_BUS
} ProfType;

s32 prof_read(u32 address);
void prof_write(u32 address, u32 value);

#endif
